package com.wilson.educenter.service;

import com.wilson.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wilson.educenter.entity.vo.LoginVo;
import com.wilson.educenter.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author wilson
 * @since 2024-02-04
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    //登录
    String login(LoginVo loginVo);
    //注册
    void register(RegisterVo registerVo);
    //根据openid判断数据库是否存在相同的微信内容
    UcenterMember getMemberByOpenId(String openid);

    //根据日期，获取那天注册人数
    Integer getCountRegister(String day);
}
